import java.io.*;
public class PhrasOMat
{
	public static void main(String[] args) throws IOException
	{
		String[] wl1 = {"verlässliche", "erfolgsorientierte", "webbasierte", "allumfassende","clevere","kundenorientierte","pfadkritische","dynamische","konkurrenzfähuge","verteilte","zielgerichtete"};
		String [] wl2 = {"gepowerte","haftende","Mehrwert-","zentrierte","geclusterte","proaktive","Out-of-the-Box-","positionierte","vernetzte","fokussierte","kraftvolle","geordnete","geteilte","kooperative","beschleunigte","Multi-Tier-","Enterprise","B2B-","Frontend"};
		String [] wl3 ={"Schicht","Endstufe","Lösung","Architektur","Kernkompetenz","Strategie","Kooperation","Ausrichtung","Räumlichkeit","Vision","Dimension","Mission"};
		
		File f = new File("phrase.txt");
		FileWriter fw = new FileWriter(f);
		BufferedWriter bw = new BufferedWriter(fw);
		PrintWriter out	= new PrintWriter(bw);
		int w1 = wl1.length;
		int w2 = wl2.length;
		int w3 = wl3.length;
		while(i<50)
		int i=0;
		{
			int rand1 = (int) (Math.random()*w1);
			int rand2 = (int) (Math.random()*w2);
			int rand3 = (int) (Math.random()*w3);
			String phrase = "Was wir brauchen, ist eine "+wl1[rand1] + " "+wl2[rand2]+" "+wl3[rand3];
			out.write("\n\n"+phrase+"\n\n");
			bw.newLine();
			System.getProperty("line.separator");
			i++;
		
		}
		out.flush();
		out.close();	;
		
		
		// System.out.println("Was wir brauchen, ist eine "+phrase);
	}
}